package onjava.advance.ch01.sec10;

/**
 * javap -c LikeClasses
 *
 * @author yangdc
 * @date 9/24/25 22:23
 */
public enum LikeClasses {
    WINKEN {
        @Override
        void behavior() {
            System.out.println("Behavior1");
        }
    },
    BLINKEN {
        @Override
        void behavior() {
            System.out.println("Behavior2");
        }
    },
    NOD {
        @Override
        void behavior() {
            System.out.println("Behavior3");
        }
    };

    abstract void behavior();
}
